how did civilization begin